package com.wf.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 * @TableName property_item
 */
@TableName(value ="property_item")
@Data
public class PropertyItem implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 4289689263486993349L;
    /**
     * 物业项目ID
     */
    @TableId(type = IdType.AUTO)
    private Integer itemId;

    /**
     * 名称
     */
    private String name;

    /**
     * 价格
     */
    private double price;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 单位
     */
    private String unit;

    /**
     * 创建日期
     */

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;
    /**
     * 更新日期
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateDate;
    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

}